package com.eastmoney.emis.edda.config;

import oracle.jdbc.proxy.annotation.Post;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;
import java.util.Map;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.config
 * @author: 汪程程
 * @date: 2022/10/19 5:19 PM
 * @version: 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "message.template")
public class MessageTemplateConfig {

    private Map<String, Template> edda;
    private Map<String, Template> eddi;
    private Map<String, Template> sms;

    public Map<String, Template> getEdda() {
        return edda;
    }
    public void setEdda(Map<String, Template> edda) {
        this.edda = edda;
    }
    public Map<String, Template> getEddi() {
        return eddi;
    }
    public void setEddi(Map<String, Template> eddi) {
        this.eddi = eddi;
    }
    public Map<String, Template> getSms() {
        return sms;
    }

    public void setSms(Map<String, Template> sms) {
        this.sms = sms;
    }

    public static class Template {
        private String code;
        private String version;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }
    }

}
